﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ESSManageService.Model.DBModels.Info;

namespace ESSManageService.IServices.IDBServices
{
    public interface IRoleServices : ISqlSugarRepository<Role>
    {
        List<Role> GetAllRoles();
        Task<Role> SaveRole(string roleName);
        Task<string> GetRoleNameByRid(int rid);
    }
}
